//
//  XHMainScrollView.h
//  HarmonizePub
//
//  Created by Haven on 2016/11/3.
//  Copyright © 2016年 Zy. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HealthyInfoList;

typedef enum : NSUInteger {
    HealthyTypeBK = 1,  // 健康百科
    HealthyTypeDT = 2,  // 医院咨询
    HealthyTypeJY = 3,  // 健康教育
} HealthyType;

@protocol XHMainScrollViewDelegate <NSObject>

- (void)tableViewdidSelectRowWithModel: (HealthyInfoList *)healthyInfoList;

@end


@interface XHMainScrollView : UIScrollView
@property (nonatomic, strong) UITableView *HealthyBKTableView;
@property (nonatomic, strong) UITableView *HospitalDTTableView;
@property (nonatomic, strong) UITableView *HealthyJYTableView;

@property (nonatomic, assign) HealthyType healthyType;

@property (nonatomic, weak) id<XHMainScrollViewDelegate> delegate;
@end
